import axios from "axios";
import { ADMIN } from '../const.js'

export default {
    login(data) {
        return axios({
            url: ADMIN + '/login',
            method: 'POST',
            data
        })
    }
}
